YAYDP\Core\Rule\Cart_Discount\YAYDP_Combined_Discount S

Total Complexity 15
Dependencies 3
Dependents 4
Total lines 138
Lines of code 86
Logical lines of code 39
Comment lines 34
Methods 6
Properties 2

Methods 6

Method Rating Maintainability Complexity Lines of code
get_coupon_data()
S
47 6 38
get_coupon_content()
S
52 3 26
add_coupon()
S
64 2 9
is_match_coupon()
S
70 2 6
__construct()
S
91 1 2
get_adjustments_from_cart()
S
72 1 5